package com.sky.mapper;


import com.sky.dto.DataOverViewQueryDTO;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {
    BigDecimal turnoverStatistics(Map map);

    Integer userStatistics(LocalDateTime begin, LocalDateTime end);

    List<Map> Top10(LocalDate begin, LocalDate end, Integer status);

    Integer ordersStatistics(LocalDateTime begin, LocalDateTime end , Integer status);
}
